package workspace;

import java.util.Scanner;

public class three {
	public static void main(String[] args) {
		System.out.println("请输入一个数");
		Scanner sc =new Scanner(System.in);
		int a =sc.nextInt();
		if (a%7==0||a%3==0||a%2==0||a%10==0) {
			System.out.println("该数可以被3和7整除");
		}
		else {
			System.out.println("该数不能被3和7整除");
		}
		
	}

	}
	
